page {
  background: white;
}

.wrap {
  display: flex;
}

.classWrap {
  height: calc(100vh - 56px);
  box-sizing: border-box;
}

.navWrap {
  flex-shrink: 0;
  width: 168rpx;
  height: calc(100vh - 56px);
  line-height: 100rpx;  
  text-align: center;
  font-size: 26rpx;
  font-weight: 600;
}

.navItem {
  background: #F5F5F5;
  color: #333333;
}

.navItem.active {
  position: relative;
  background: white;
  color: #BA2C2B;
  font-size: 28rpx;
}

.navItem.active:before {
  content: '';
  position: absolute;
  left: 0;
  top: 30rpx;
  width: 4rpx;
  height: 40rpx;
  background: #BA2C2B;
}

.class2 {
  padding: 20rpx;
  margin: 20rpx;
  box-shadow: 0px 8rpx 20rpx 0px rgba(0, 0, 0, 0.06);
  border-radius: 20rpx;
}

.class2 .title {
  line-height: 44rpx;
  font-size: 30rpx;
  color: #222222;
  font-weight: 600;
}

.classList{
  display: flex;
  flex-wrap: wrap;
}

.class3 {
  flex-shrink: 0;
  margin-top: 20rpx;
  text-align: center;
  font-weight: 600;
  font-size: 0;
  color: #333333;
}

.class3:nth-child(3n + 2) {
  margin: 20rpx 26rpx 0;
}

.class3 .image {
  width: 150rpx;
  height: 150rpx;
  margin-bottom: 20rpx;
  background: #F5F5F5;
}

.className{
  font-size: 24rpx;
  line-height: 36rpx;
}
